// 用 store.js操作
import LS from "store";
import { TOGGLE_COLLAPSED_TYPE } from "./types";
import store from "@/store";
const actions = {
    toggleCollapsedAction: () => {
        LS.set("collapsed", !store.getState().common.collapsed);
        return { type: TOGGLE_COLLAPSED_TYPE };
    },
};
export default actions;